A visual interface for type-related refactorings
نویسندگان
چکیده
In this paper, we present our approach to a visual refactoring tool, the Type Access Analyzer (TAA), which uses program analysis to detect code smells and for suggesting and performing refactorings related to typing. In particular, the TAA is intended to help the developers with consistently programming to interfaces.
منابع مشابه
The Need for Object - Oriented Reengineering
insert() abstract delete() abstract lookup() abstract forall() HashSet ... ListSet ... Set impl insert() delete() lookup() forall() deleteAll() union() constructor() changeImpl() SetImpl abstract insert() abstract delete() abstract lookup() abstract forall() abstract changeImpl() constructor (type subtypeSetImpl) { impl = new type ; }insert() abstract delete() abstract lookup() abstract forall(...
متن کاملormalizing Refactorings ith Graph Transformations
he widespread interest in refactoring —transforming the source-code of an objectriented program without changing its external behaviour— has increased the need or a precise definition of refactoring transformations and their properties. In this aper we explore the use of graph rewriting for specifying refactorings and their effect n programs. We introduce a graph representation for programs and...
متن کاملAn Interactive Interface for Refactoring Using Source Transformation
In this paper we present RUST, an environment that assists the programmer in locating potential code improvements by searching for a set of predetermined patterns, identifying these areas as code smells, and providing a means to automatically implement refactorings. Results and changes are presented using an interface that allows the user to examine the affected code, try out and see the result...
متن کاملFormalising Refactorings with Graph Transformations
The widespread interest in refactoring —transforming the source-code of an objectoriented program without changing its external behaviour— has increased the need for a precise definition of refactoring transformations and their properties. This paper introduces a graph representation of those aspects of the source code that should be preserved by refactorings, and graph transformations as a for...
متن کاملAutomated Upgrading of Component - Based Applications
Software developers like to reuse software components such as libraries or frameworks because it lets them build a system more quickly, but then the system depends on the components that they reused. Ideally, the programming interface (API) to a component never changes. In practice, components change their APIs. Upgrading an application to the new API is error-prone, tedious, and disruptive to ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007